// MainDlg.h : interface of the CMainDlg class
//
/////////////////////////////////////////////////////////////////////////////

#pragma once

class CDropEdit : public CWindowImpl<CDropEdit, CEdit>
{
public:
    // The assignment operator overloading function could not be inherited by default.
    CDropEdit& operator = (HWND hWnd)
    {
        // m_hWnd = hWnd;
        return *this;
    }

    BEGIN_MSG_MAP(CDropEdit)
        MESSAGE_HANDLER(WM_DROPFILES,OnDropFiles)
    END_MSG_MAP()

    LRESULT OnDropFiles(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL& /*bHandled*/);
};